<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2021/2/20 0020
 * Time: 10:04
 */

namespace factoryAbstract;

class AnimalFactory implements Factory
{
    public function createFarm()
    {
        return new pigFarm();
    }

    public function createZoo()
    {
        // TODO: Implement createZoo() method.
        return new PandaZoo();
    }
}